"""
Temporary solution using html and webView widget.
This module should have portability to qt module as well.
Idea is to construct a base class such as ShiftDisplayUi for both HtmlOutput and QtOputput
Things to output:
    Pay and Toil balances
    WeekView.
"""

class ShiftDisplayUi():
    "The base class for display features, contains functionality"
    #Output methods
    def printToilBalance(self):
        "Print small table"
        pass
    def printPayBalance(self):
        "Print small table"
        pass
    def printWeekEvents(self,  WeekEnd):
        "print a list of shits/events for a given week"
        pass
    #Functionality methods
    def getToilTotals(self):
        "return a dictionary"
        TOIL=dict()
        TOIL[TotalSpent]=0
        TOIL[TotalEarned]=0
        return TOIL
    def getPayTotal(self, Month):
        "Pay total between pay cuttoff days"
        pass
    
class HtmlOutput(ShiftDisplayUi):
    "These methods should be compatible with future qt version."
    pass

class QtOutput(ShiftDisplayUi):
    "Review this class after html is done."
    pass
    
test=HtmlOutput()
print "Scpript end."
